from . import Download, ConstantInfo, Setup, Start, Plugin

class Kernalary:
    def __init__(self):
        self.func_list = {
            "Download.TDownload": Download.TDownload,
            "Download.PDownload": Download.PDownload,
            "Download.Download": Download.Download,
            "ConstantInfo.ConstantInfo": ConstantInfo.ConstantInfo,
            "ConstantInfo.GlobalConfig": ConstantInfo.GlobalConfig,
            "Setup.DownloadClient": Setup.DownloadFabric,
            "Start.StartMinecraft": Start.StartMinecraft,
            "Logging.Logger": Plugin.Logger
        }
    
    def interface(self, func):
        return self.func_list[func](self.interface)